package be.vdab.winkel;

import java.util.*;


public class Catalogus {
	List<Product> producten = new ArrayList<Product>();
	
	public Catalogus(){
		producten.add(new Product("Bloemen",25));
		producten.add(new Product("Nootjes",5));
		producten.add(new Product("PS3",350));
		producten.add(new Product("Boek",12));
		producten.add(new Product("Brood",2));
		producten.add(new Product("Bier",14));
		producten.add(new Product("Rijst",1));
		producten.add(new Product("Pudding",8));
		
	}
	
	public Iterator<Product> getIterator(){
		return producten.iterator();
	}
	
	public Collection<Product> getProducten(){
		return Collections.unmodifiableCollection(producten);
	}
	
}
